//
//  MainFirst_Magazine_TBV_WebCel_WX.h
//  ZITHER
//
//  Created by weixin on 2018/11/7.
//  Copyright © 2018 weixn. All rights reserved.
//

#import "BaseTbvCell.h"
#import <JavaScriptCore/JavaScriptCore.h>
//#import "JSTestObjext.h"
#import "HomePageDetailModel.h"
#import "JSTestObjectProtocol.h"
#import <WebKit/WebKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface MainFirst_Magazine_TBV_WebCel_WX : BaseTbvCell<UIWebViewDelegate,JSTestObjectProtocol,QMUIImagePreviewViewDelegate>

@property (nonatomic,strong)UIWebView * webview;

//@property (nonatomic,strong)WKWebView * wkWeb;


@property (nonatomic,copy)NSString * pgcId;


@property (nonatomic,strong)NSString * dataStr;
@property (nonatomic,strong)HomePageDetailModelData * model;
/** web是否准备好 */
@property (nonatomic,assign)bool start;

/** 是否加载过一次 */
@property (nonatomic,assign)bool isSetData;

@property (nonatomic,assign)CGFloat MaxH;


/** h5 iOS 互相交互 */
@property (nonatomic,strong)JSContext *context;

/** 点击放大头像 */
@property(nonatomic, strong) QMUIImagePreviewViewController *imagePreviewViewController;
@property(nonatomic, strong)  BaseImageV *imageV;//将要被放大的图片
@property (nonatomic,copy) NSString *PicSelectUrl;//选中web页图片url

-(void)showBigImage:(UIImageView*)imageView;

-(void)showPauseAudio;


@property (nonatomic,copy)void(^block)(NSString *str);
@end

NS_ASSUME_NONNULL_END
